﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Threading.Tasks;

namespace NineMine.DataModel
{
    public class IssueRelation
    {
        [Key]
        public long Id { get; set; }

        [Required]
        public Issue IssueFrom { get; set; }

        [Required]
        public Issue IssueTo { get; set; }

        [MaxLength(255)]
        public string RelationType { get; set; }

        public long? Delay { get; set; }
    }
}
